package com.skyz.wrap.bean;

import com.skyz.wrap.entity.result.OrderDetail;

import java.util.List;

public class OrderPostParam {

    /**
     * attrValueId : 0
     * bargainId : 0
     * bargainUserId : 0
     * combinationId : 0
     * orderNo :
     * pinkId : 0
     * preOrderType :
     * productId : 0
     * productNum : 0
     * seckillId : 0
     * shoppingCartId : 0
     */
//    商品规格属性id（立即购买、活动购买必填）
    private int attrValueId;
    //砍价商品id
    private int bargainId;
    //用户砍价活动id
    private int bargainUserId;
    //拼团商品id
    private int combinationId;
    //订单编号（再次购买必填）
    private String orderNo;
    //拼团团长id
    private int pinkId;
    //预下单类型（“shoppingCart”：购物车下单，“buyNow”：立即购买，”again“： 再次购买，”video“: 视频号商品下单）
    private String preOrderType;
    //商品id（立即购买必填）
    private int productId;
    //商品数量（立即购买、活动购买必填）
    private int productNum;
    //秒杀商品id
    private int seckillId;
    //购物车编号，购物车预下单时必填
    private int shoppingCartId;
    //订单详情列表
    private List<OrderDetail> orderDetails;

    public List<OrderDetail> getOrderDetails() {
        return orderDetails;
    }

    public void setOrderDetails(List<OrderDetail> orderDetails) {
        this.orderDetails = orderDetails;
    }

    public int getAttrValueId() {
        return attrValueId;
    }

    public void setAttrValueId(int attrValueId) {
        this.attrValueId = attrValueId;
    }

    public int getBargainId() {
        return bargainId;
    }

    public void setBargainId(int bargainId) {
        this.bargainId = bargainId;
    }

    public int getBargainUserId() {
        return bargainUserId;
    }

    public void setBargainUserId(int bargainUserId) {
        this.bargainUserId = bargainUserId;
    }

    public int getCombinationId() {
        return combinationId;
    }

    public void setCombinationId(int combinationId) {
        this.combinationId = combinationId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getPinkId() {
        return pinkId;
    }

    public void setPinkId(int pinkId) {
        this.pinkId = pinkId;
    }

    public String getPreOrderType() {
        return preOrderType;
    }

    public void setPreOrderType(String preOrderType) {
        this.preOrderType = preOrderType;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getProductNum() {
        return productNum;
    }

    public void setProductNum(int productNum) {
        this.productNum = productNum;
    }

    public int getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(int seckillId) {
        this.seckillId = seckillId;
    }

    public int getShoppingCartId() {
        return shoppingCartId;
    }

    public void setShoppingCartId(int shoppingCartId) {
        this.shoppingCartId = shoppingCartId;
    }
}
